﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Workbench
{
    class Program
    {
        String fgt = "RaceCar Themoon";
        String fgtr;
        static void Main(string[] args)
        {
            Program wrk = new Program();
            wrk.dostuff();
        }
        public void dostuff()
        {
            Program wrk = new Program();
            fgtr = wrk.reverse(fgt);
            Console.WriteLine(fgt);
            Console.WriteLine(fgtr);
            Console.ReadKey();
        }
        public string reverse(string a)
        {
            String b = "";
            for (int x = a.Length - 1; x >= 0; x--)
            {
                b = b + a[x];
            }
            return b;
        }
    }
}
